home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The AGA Experience 3
/
AGA Experience Volume 3 (1997)(NFA - SAdENESS)[!].iso
/
software
/
utilities
/
programmers
/
apathysource
/
fastest
/
make4bittexture.amos
/
make4bittexture.amosSourceCode
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
AMOS Source Code
|
1996-09-20
|
350 b
|
17 lines
Load Iff "!intro:fastest/textures/GBG.iff",0
Reserve As Work 16,256/2*128
COUNT=0
For Y=0 To 127 Step 1
For X=0 To 255 Step 2
A=Point(X,Y) and %1111
B=Point(X+1,Y) and %1111
BYTE=A*16+B
Poke Start(16)+COUNT,BYTE
Add COUNT,1
Next
Next
Bsave "!intro:fastest/textures/GBG.4bit",Start(16) To Start(16)+Length(16)